package com.jqr.activity.school.models;

import java.io.Serializable;
import java.util.Date;


/**
 *  实体类。
 *
 * @author 吴宗波
 * @since 2023-12-12
 */

public class Article  {

    /**
     * 文章id
     */

    private Integer id;

    /**
     * 用户文章编号id
     */

    private Integer articleCatId;

    /**
     * 文章标题
     */

    private String title;


    private String subTitle;

    /**
     * 章文内容
     */

    private String content;


    private Date updateTime;

    /**
     * 建创时间
     */

    private Date createTime;

    /**
     * 逻辑删除
     */

    private Integer deleted;

    /**
     * 是否公开 1，公开，0 私有，默认1
     */

    private String status;

    /**
     * 用户编号
     */

    private Integer userinfoId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getArticleCatId() {
        return articleCatId;
    }

    public void setArticleCatId(Integer articleCatId) {
        this.articleCatId = articleCatId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", articleCatId=" + articleCatId +
                ", title='" + title + '\'' +
                ", subTitle='" + subTitle + '\'' +
                ", content='" + content + '\'' +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                ", deleted=" + deleted +
                ", status='" + status + '\'' +
                ", userinfoId=" + userinfoId +
                '}';
    }
}
